#!/usr/bin/env python
import sys
if __name__ == "__main__":
    from com.nasgektw.cards.client.model import Configuration
    if sys.stdin.isatty():
    #if False:
        import com.nasgektw.cards.client.console.Main
        com.nasgektw.cards.client.console.Main.Main()
    else:
        import com.nasgektw.cards.client.gui.Main
        com.nasgektw.cards.client.gui.Main.Main()
